package org.ilda.bean;

public class IURL {
	
	public String urlName;
	
	public String urlStatus;
	
	public static enum Url_Curr_Status{
		Non_Process, Processing, Processed
	}
	
	
	
	public IURL(String urlName, String urlstatus){
		this.urlName = urlName;
		this.urlStatus = urlstatus;
	}

	public String getUrlName() {
		return urlName;
	}

	public void setUrlName(String urlName) {
		this.urlName = urlName;
	}

	public String getUrlStatus() {
		return urlStatus;
	}

	public void setUrlStatus(String urlStatus) {
		this.urlStatus = urlStatus;
	}
	
	@Override
	public boolean equals(Object obj) {
		
		if(obj instanceof IURL){
			IURL url = (IURL)obj;
			if(this.urlName.equals(url.urlName)){
				return true;
			}
		}
		
		return false;
	}
	

}
